package com.lx.sync.consumer;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;


@MapperScan(basePackages = {"com.lx.sync.config.mapper","com.lx.sync.consumer.mapper"})
@SpringBootApplication(scanBasePackages = {"com.lx"})
@EnableFeignClients(basePackages = "com.lx.sync.api") // 设置 Feign Client 扫描路径@SpringBootApplication
public class ConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }
}
